package com.net.xpay.common.dao.partner;

import com.net.xpay.common.domain.partner.PartnerWithdrawRecordBatch;
import com.net.xpay.common.model.search.PartnerWithdrawRecordBatchSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.VersionedMapper;
import com.net.common.annotation.DataShard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("")
@Repository
public interface PartnerWithdrawRecordBatchMapper extends VersionedMapper<Long, PartnerWithdrawRecordBatch> {
    List<PartnerWithdrawRecordBatch> search(@Param("searchModel") PartnerWithdrawRecordBatchSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") PartnerWithdrawRecordBatchSearchModel searchModel);
}
